/* 
 * File:   PackageData.cpp
 * Author: Neo Siong Wei
 * 
 * Created on February 11, 2014, 9:04 PM
 */

#include "PackageData.h"

PackageData::PackageData()
{  
}

PackageData::PackageData (char tempPT, int tempPID, string tempDN, int tempHT, int tempC, int cosT)
{ 
    pType = tempPT;
    packID = tempPID;
    destName = tempDN;
    hType = tempHT;
    capacity = tempC;
    cost = cosT;
}

PackageData::~PackageData ()
{   
}
char PackageData::getPType ()
{
    return pType;
}

int PackageData::getPackID ()
{
    return packID;
}

string PackageData::getDestName ()
{
    return destName;
}

int PackageData::getHType ()
{
    return hType;
}

int PackageData::getCapacity ()
{
    return capacity;
}

int PackageData::getCost ()
{
    return cost;
}

void PackageData::setPType (char type)
{
    pType = type;
}

void PackageData::setPackID (int index)
{
    packID = index;
}

void PackageData::setDestName (string desc)
{
    destName = desc;
}

void PackageData::setHType (int holiday)
{
    hType = holiday;
}

void PackageData::setCapacity (int number)
{
   capacity = number; 
}

void PackageData::setCost (int cosT)
{
   cost = cosT; 
}
